<div id="maincontent">
	<div id="content">
    <div class="box1">
      
            <div id="reg-form">
              <div id="reg-box">
                <?php  if (isset($lico['disabled']) && $lico['disabled'] === true) { ?>
                  Registrations disabled for maintenance purpose. Stay tuned!
                <?php } else { ?>
                <form id="reg" name="reg" action="/success.html" method="post">
                  
                  <div id="reusername">
                    <label id="username_label"><?php echo lico_lang('general', 'register.username'); ?>:</label>
                    <input id="username_input" type="text" name="lico[username]" value="<?php echo (isset($lico['POST']['username'])?$lico['POST']['username']:""); ?>"/>
                  </div>
                  
                  <div id="rpassword1">
                    <label id="password1_label"><?php echo lico_lang('general', 'register.passwd1'); ?>:</label>
                    <input id="password1_input" type="password" name="lico[password1]" value="<?php echo (isset($lico['POST']['password1'])?$lico['POST']['password1']:""); ?>"/>
                  </div>
                  
                  <div id="rpassword2">
                    <label id="password2_label"><?php echo lico_lang('general', 'register.passwd2'); ?>:</label>
                    <input id="password2_input" type="password" name="lico[password2]" value="<?php echo (isset($lico['POST']['password2'])?$lico['POST']['password2']:""); ?>"/>
                  </div>
                  
                  <div id="remail">
                    <label id="email_label"><?php echo lico_lang('general', 'register.email'); ?>:</label>
                    <input id="email_input" type="text" name="lico[email]" value="<?php echo (isset($lico['POST']['email'])?$lico['POST']['email']:""); ?>"/>
                  </div>
                  
                  <div id="rsubmit">
                    <!-- div style="float:left;width:70%;text-align: left;">
                      [ <a href="/openid.html">OpenID Registration</a> ]
                    </div -->
                    <div style="float:right;width:29%">
                      <input type="hidden" name="lico[register]" value="1"/>
                      <input id="rsubmit_input" type="submit" name="lico[submit]" value="<?php echo lico_lang('general', 'register.submit'); ?>"/>
                    </div>
                  </div>
                  
                </form>
              </div>
              <div id="openid-box">
                
                <div id="openid-description">
                  Use the buttons below to register with your OpenID identity.
                </div>
                
                <div id="google">
                  <a href="/login/google.html">
                    <img src="/gfx/googleB.png" border="0" alt="Login with your Google OpenID" title="Login with your Google OpenID"/>
                  </a>
                </div>
                
                <!-- div id="myopenid">
                  <a href="/login/myopenid.html">
                    <img src="/gfx/myopenidB.png" border="0" alt="Login with your MyOpenID" title="Login with your MyOpenID"/>
                  </a>
                </div>
                
                <div id="openid">
                  <a href="/login/openid.html">
                    <img src="/gfx/openidB.png" border="0" alt="Login with your OpenID" title="Login with your OpenID"/>
                  </a>
                </div -->
                                
              </div>
              <?php } ?>
            </div>
      
      
    </div>
  </div>
</div>
